package fund.people.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import org.springframework.beans.factory.annotation.Autowired;
import fund.people.entity.TbPeople;
import fund.people.mapper.TbPeopleMapper;
import fund.people.service.ITbPeopleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TbPeopleServiceImpl extends ServiceImpl<TbPeopleMapper, TbPeople> implements ITbPeopleService {
    @Autowired
    private TbPeopleMapper tbPeopleMapper;
    public List<Map<String, Object>> findAll(String people) {
        return tbPeopleMapper.findAll(people);
    }

    public List<Map<String, Object>> findSex() {
        return tbPeopleMapper.findSex();
    }

    public List<Map<String, Object>> findAge() {
        return tbPeopleMapper.findAge();
    }

    public List<Map<String, Object>> findIncome() {
        return tbPeopleMapper.findIncome();
    }
}
